<section class="home-informations">
  <div class="row">
    <div class="col-xs-4 video">
      <% if (video_wiki=Wiki.get_lastest_video_wiki) %>
        <iframe width="100%" height="100%" frameborder=0 src="<%= get_wiki_video_address(video_wiki) %>" allowfullscreen=""></iframe>
      <% else %>
        <video src="/demo.mp4" controls preload style="background-color: #333;"></video>
      <% end %>
    </div>

    <div class="col-xs-4 wiki">
      <div class="title">
        <div class="pull-right"><a href="/wiki">更多<i class="fa fa-angle-double-right"></i></a></div>
        <h1>门窗百科</h1>
      </div>

      <!-- 最多七条 -->
      <% @wikis.each do |wiki| %>
      <div class="row wiki-item">
        <div class="col-xs-12 title">
          <%= link_to wiki.title, wiki_path(wiki) %>
        </div>
        <!-- <div class="col-xs-2 tip"></div> -->
      </div>
      <% end %>
    </div>


    <div class="col-xs-4 design">
      <a href="<%= designers_path %>">
        <img src="<%= image_path('new-home/designer.png') %>" alt="">
      </a>
    </div>
  </div>
</section>
